package com.nut.lmsc.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.nut.lmsc.api.req.CirclePersonQueryReq;
import com.nut.lmsc.common.Result;
import com.nut.lmsc.entity.CirclePerson;

import java.util.List;
import java.util.Set;

public interface CirclePersonService {

//    Result<List<CirclePerson>> list();

    Result<IPage<CirclePerson>> listPage(CirclePersonQueryReq req);

    Result<CirclePerson> getById(Integer id);

    Result add(CirclePerson circlePerson);

    Result updateById(CirclePerson circlePerson);

    Result deleteByIds(Set<Integer> ids);

}
